<h:form xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

 

        <style type="text/css">  
            .ui-widget {  
                font-size: 12px !important;  
            }  
        </style> 
        
            <p:panelMenu style="width: 200px">

                <p:growl id="messages" autoUpdate="true"/>
                <p:submenu label="Pesquisa">  
                    <p:menuitem value="Serviços" />  
                    <p:menuitem value="Agenda" />  
                    <p:menuitem value="Horários" />
                </p:submenu>  
                <p:separator />  
                <p:submenu label="Ajuda" >  
                    <p:menuitem value="Como funciona"/>          
                </p:submenu>

            </p:panelMenu>
 
</h:form>

